package org.javaboy.demo;

import org.javaboy.demo.service.UserService;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Demo01 {
    public static void main(String[] args) {
        ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext("beans.xml");
        UserService us = ctx.getBean(UserService.class);
        us.transferMoney("zhangsan", "lisi", 100.0);
    }
}
